const express = require('express')
const router = express.Router()
const videoController = require('.././controller/videoController')
const vodController = require('.././controller/vodController')
const { verifyToken } = require('../utils/jwt')
const validator = require('../middleWave/validator/videoValidator')
router
.get('/videoLists',videoController.videoList)
.get('/getVod',vodController.getVod)
.post('/createVideo',verifyToken,validator.create,videoController.createVideo)
module.exports = router